package com.kikcn.jpa.repo;

import com.kikcn.jpa.entity.Role;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by Yubin Lai on 2017/8/14.
 */
@Repository
public interface RoleRepository extends CrudRepository<Role, java.lang.String> {
    public Role findByName(String name);

}
